package net.ericaro.neojavagen.blocks;

/**
 * <b>SwitchBlockStatementGroup</b> ::= <{@link net .ericaro .neojavagen .blocks .SwitchLabels SwitchLabels}> <
 * {@link net .ericaro .neojavagen .blocks .BlockStatements BlockStatements}>
 * 
 * @author eric@ericaro.net
 */
public class SwitchBlockStatementGroup extends net.ericaro.neojavagen.JavaPartComposition {
	private net.ericaro.neojavagen.blocks.BlockStatements blockStatements;

	private net.ericaro.neojavagen.blocks.SwitchLabels switchLabels;

	public SwitchBlockStatementGroup(net.ericaro.neojavagen.blocks.SwitchLabels switchLabels, net.ericaro.neojavagen.blocks.BlockStatements blockStatements) {
		super();
		this.switchLabels = switchLabels;
		this.blockStatements = blockStatements;
	}

	public net.ericaro.neojavagen.blocks.BlockStatements getBlockStatements() {
		return blockStatements;
	}

	public net.ericaro.neojavagen.blocks.SwitchLabels getSwitchLabels() {
		return switchLabels;
	}

	public void setBlockStatements(net.ericaro.neojavagen.blocks.BlockStatements blockStatements) {
		this.blockStatements = blockStatements;
	}

	public void setSwitchLabels(net.ericaro.neojavagen.blocks.SwitchLabels switchLabels) {
		this.switchLabels = switchLabels;
	}

	@Override
	public java.lang.String toString() {
		return print(switchLabels, blockStatements);
	}
}
